var user = require('./user');
var cat = require('./cat');
var post = require('./post');

function router (app) {
	app.use('/user',user);
	app.use('/cat',cat);
	app.use('/post',post);
	app.get('/',function(req,res) {
		res.json({name:'kkk'});
	});
}

module.exports = router;